//
//  NSDictionary+HZY.h
//  FlowerTown
//
//  Created by 何志勇 on 2017/7/21.
//  Copyright © 2017年 TT. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDictionary (HZY)
-(NSInteger)toInteger:(id)aKey;
-(int)toInt:(id)aKey;
-(NSString*)toString:(id)aKey;
-(double)toDouble:(id)aKey;
-(float)toFloat:(id)aKey;
-(BOOL)hasValueForKey:(id)aKey;
- (NSDictionary *)dictionaryByRemoveNULL;

/// 将字典用&拼接成url形式
- (NSString *)toURLString;

@end

@interface NSArray (RemoveNULL)

- (NSArray *)arrayByRemoveNULL;

@end
